/**
 * 
 */
package com.ge.healthcare.autosc.common.database.dao;

import com.ge.healthcare.autosc.common.database.pojo.CfgSystemDetails;

/**
 * @author 212042764
 *
 */
public class SystemDetailsDAO extends BaseDAO implements ISystemDetailsDAO {
	/**
	 * Eclipse Generated
	 */
	private static final long serialVersionUID = 1L;
	private static final String TABLE_NAME = "com.ge.healthcare.autosc.common.database.pojo.CfgSystemDetails";
	private static final String COL_SYSTEM_ID = "systemId";
	
	protected SystemDetailsDAO() {
		super(TABLE_NAME);
	}

	/**
	 * @see com.ge.healthcare.autosc.common.database.dao.ISystemDetailsDAO#saveAlways(java.lang.Object)
	 */
	public void saveAlways(Object pojo) {
		super.save(pojo);

	}

	/**
	 * @see com.ge.healthcare.autosc.common.database.dao.ISystemDetailsDAO#getSystemDetails(java.lang.String)
	 */
	public CfgSystemDetails getSystemDetails(String systemId) {
		return (CfgSystemDetails)this.findObjectByID(COL_SYSTEM_ID, systemId);
	}

}
